

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--
<link rel="stylesheet" href="style/css.css">
-->
<title>登录</title>

<link rel="stylesheet" href="style/style.css">

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #E5F3FC;
	min-width: 780px !important;
	width: expression(document.body.clientWidth <800?"785px":"100%");

}

.logintext {
	font-size:12px;
	color:#397BBB;
}

.loginbiaodan {
	background-color: #FFFFFF;
	border: 1px solid #E2E2E2;
	font-size: 12px;
	color: #397BBB;
}

.errorfield, .errorfield a{ 
	
	text-align:left;
	font-size: 9pt;	
	font-weight: bold;
	line-height: 24px;
	color: #F85D00;	
	
}
.errorfield{
  border:1px solid #FF9966;
	margin-top:500;
	MARGIN-RIGHT:45; 
	MARGIN-LEFT:4;
	width:480px;
	background:url(images/error.gif) no-repeat top left #FFFCE5;	
	text-indent: 16pt;	  
	display:none; 
	cursor:hand;
}

body{
 overflow:hidden;
}

-->
</style>
<script type="text/javascript" src="${ctx }/js/jquery/jquery-1.3.min.js"></script>
<script type="text/javascript">
function loginOntt()
{
	var userName=document.getElementById("userName").value;
	var pwd = document.getElementById("pwd").value;
	if(userName == null || userName == ""){
		alert("用户名不能为空!");
		document.getElementById("userName").focus();
		return false;
	}
	if(pwd == null || pwd == ""){
		alert("密码不能为空!");
		document.getElementById("pwd").focus();
		return false;
	}
	//
	jQuery.post("${ctx}/login/auth",param,function(data,textStatus,jqXHR){	
		if(data != null && data.success){
			window.location.href = "${ctx}/login/login";
		}else{
		}
	},'json');
	
}
</script> 
</head>
<body>
<div id="wrapper">
	<div class="pic" style="float:top">
		<table border="0" cellspacing="0" cellpadding="0" >
        <tr>
          <td height="30">用户名&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td><input type="text" name="userName" id="userName"  class="aczinput" style="width:155px;"/>
          
          <input name="j_username" id="j_username" type="hidden" value="" />
          </td>
          <td rowspan="2">&nbsp;&nbsp;&nbsp;&nbsp;<input type="image" onClick="loginOntt();" name="button" id="button"  src="images/signon/login_botton.jpg" /></td>
        </tr>
        <tr>
          <td height="30">密　码</td>
          <td><input type="password" name="pwd" id="pwd" class="aczinput" style="width:155px; margin-right:3px;"/>
         </td>
        </tr>
      </table>
	</div>
</div>
<div style="text-align:center;" >		     
 <div class ="errorfield" id="error" onClick="javascript:this.style.display='none'">登录系统失败:请输入正确的用户名、密码！</div>
 </div>			 							
</body>
</html>